﻿<%@ Page Title="" Language="C#" MasterPageFile="~/cms/cms.master" AutoEventWireup="true" CodeFile="ChangeUserInfo.aspx.cs" Inherits="cms_ChangeUserInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style1
    {
        height: 37px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMain" Runat="Server">
    <h1 class="top-heading">Change User Info</h1>
<table cellpadding="5" width="400">
    <tr>
        <td colspan="2"><asp:Label ID="lbError" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr>
        <td>Username:</td>
        <td>
        <asp:RequiredFieldValidator ID="RequiredPassword0" runat="server" 
                        ControlToValidate="txtUsername" ErrorMessage="*" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:TextBox ID="txtUsername" runat="server" Enabled="false" CssClass="textbox"></asp:TextBox></td>
    </tr>
    <tr>
        <td>FirstName:</td>
        <td>
        <asp:RequiredFieldValidator ID="RequiredPassword1" runat="server" 
                        ControlToValidate="txtFirstName" ErrorMessage="*" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:TextBox ID="txtFirstName" runat="server" CssClass="textbox"></asp:TextBox></td>
    </tr>
    <tr>
        <td class="style1">LastName:</td>
        <td class="style1">
        <asp:RequiredFieldValidator ID="RequiredPassword2" runat="server" 
                        ControlToValidate="txtLastName" ErrorMessage="*" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:TextBox ID="txtLastName" runat="server" CssClass="textbox"></asp:TextBox></td>
    </tr>
    <tr>
        <td>Email:</td>
        <td>
        <asp:RequiredFieldValidator ID="RequiredPassword3" runat="server" 
                        ControlToValidate="txtEmail" ErrorMessage="*" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage="*" ForeColor="Red" 
                SetFocusOnError="True" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            <asp:TextBox ID="txtEmail" runat="server" CssClass="textbox"></asp:TextBox></td>
    </tr>
    <tr>
        <td>Phone:</td>
        <td>
        <asp:RequiredFieldValidator ID="RequiredPassword4" runat="server" 
                        ControlToValidate="txtPhone" ErrorMessage="*" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:TextBox ID="txtPhone" runat="server" CssClass="textbox"></asp:TextBox></td>
    </tr>
    <tr>
        <td align="right">
            &nbsp;</td>
        <td>
            <asp:Button ID="btnAdd" runat="server" Text="Update" 
                onclick="btnAdd_Click" /></td>
    </tr>
</table>
</asp:Content>

